import 'package:flutter/material.dart';
import 'package:my_flutter_core/widgets/app_bar_subtitle.dart';

class VerticalAppBarTitle extends StatelessWidget {
  const VerticalAppBarTitle(this.title, this.subtitle, {super.key});

  final String title;
  final String subtitle;

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Text(title),
        AppBarSubtitle(subtitle),
      ],
    );
  }
}
